define([
    '../module',
], function(ng) {

    ng.factory('mainService', ['$http', function($http) {
        console.log($http);
    }])

    ng.controller('mainCtrl', [
        '$scope',
        '$rootScope',
        '$location',
        'menu',
        function($scope, $rootScope, $location, menu) {
            var menuList = $rootScope.menuList = menu.list;
        }
    ])
});